package com.hutao.medical.pojo.print;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PrintFeeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PrintFeeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationIsNull() {
            addCriterion("print_pagination is null");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationIsNotNull() {
            addCriterion("print_pagination is not null");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationEqualTo(Integer value) {
            addCriterion("print_pagination =", value, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationNotEqualTo(Integer value) {
            addCriterion("print_pagination <>", value, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationGreaterThan(Integer value) {
            addCriterion("print_pagination >", value, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationGreaterThanOrEqualTo(Integer value) {
            addCriterion("print_pagination >=", value, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationLessThan(Integer value) {
            addCriterion("print_pagination <", value, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationLessThanOrEqualTo(Integer value) {
            addCriterion("print_pagination <=", value, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationIn(List<Integer> values) {
            addCriterion("print_pagination in", values, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationNotIn(List<Integer> values) {
            addCriterion("print_pagination not in", values, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationBetween(Integer value1, Integer value2) {
            addCriterion("print_pagination between", value1, value2, "printPagination");
            return (Criteria) this;
        }

        public Criteria andPrintPaginationNotBetween(Integer value1, Integer value2) {
            addCriterion("print_pagination not between", value1, value2, "printPagination");
            return (Criteria) this;
        }

        public Criteria andApplyNameIsNull() {
            addCriterion("apply_name is null");
            return (Criteria) this;
        }

        public Criteria andApplyNameIsNotNull() {
            addCriterion("apply_name is not null");
            return (Criteria) this;
        }

        public Criteria andApplyNameEqualTo(String value) {
            addCriterion("apply_name =", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotEqualTo(String value) {
            addCriterion("apply_name <>", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameGreaterThan(String value) {
            addCriterion("apply_name >", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameGreaterThanOrEqualTo(String value) {
            addCriterion("apply_name >=", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLessThan(String value) {
            addCriterion("apply_name <", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLessThanOrEqualTo(String value) {
            addCriterion("apply_name <=", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameLike(String value) {
            addCriterion("apply_name like", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotLike(String value) {
            addCriterion("apply_name not like", value, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameIn(List<String> values) {
            addCriterion("apply_name in", values, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotIn(List<String> values) {
            addCriterion("apply_name not in", values, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameBetween(String value1, String value2) {
            addCriterion("apply_name between", value1, value2, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyNameNotBetween(String value1, String value2) {
            addCriterion("apply_name not between", value1, value2, "applyName");
            return (Criteria) this;
        }

        public Criteria andApplyCardIsNull() {
            addCriterion("apply_card is null");
            return (Criteria) this;
        }

        public Criteria andApplyCardIsNotNull() {
            addCriterion("apply_card is not null");
            return (Criteria) this;
        }

        public Criteria andApplyCardEqualTo(String value) {
            addCriterion("apply_card =", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotEqualTo(String value) {
            addCriterion("apply_card <>", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardGreaterThan(String value) {
            addCriterion("apply_card >", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardGreaterThanOrEqualTo(String value) {
            addCriterion("apply_card >=", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardLessThan(String value) {
            addCriterion("apply_card <", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardLessThanOrEqualTo(String value) {
            addCriterion("apply_card <=", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardLike(String value) {
            addCriterion("apply_card like", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotLike(String value) {
            addCriterion("apply_card not like", value, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardIn(List<String> values) {
            addCriterion("apply_card in", values, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotIn(List<String> values) {
            addCriterion("apply_card not in", values, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardBetween(String value1, String value2) {
            addCriterion("apply_card between", value1, value2, "applyCard");
            return (Criteria) this;
        }

        public Criteria andApplyCardNotBetween(String value1, String value2) {
            addCriterion("apply_card not between", value1, value2, "applyCard");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceIsNull() {
            addCriterion("per_page_price is null");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceIsNotNull() {
            addCriterion("per_page_price is not null");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceEqualTo(Float value) {
            addCriterion("per_page_price =", value, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceNotEqualTo(Float value) {
            addCriterion("per_page_price <>", value, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceGreaterThan(Float value) {
            addCriterion("per_page_price >", value, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceGreaterThanOrEqualTo(Float value) {
            addCriterion("per_page_price >=", value, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceLessThan(Float value) {
            addCriterion("per_page_price <", value, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceLessThanOrEqualTo(Float value) {
            addCriterion("per_page_price <=", value, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceIn(List<Float> values) {
            addCriterion("per_page_price in", values, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceNotIn(List<Float> values) {
            addCriterion("per_page_price not in", values, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceBetween(Float value1, Float value2) {
            addCriterion("per_page_price between", value1, value2, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerPagePriceNotBetween(Float value1, Float value2) {
            addCriterion("per_page_price not between", value1, value2, "perPagePrice");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountIsNull() {
            addCriterion("percharge_count is null");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountIsNotNull() {
            addCriterion("percharge_count is not null");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountEqualTo(Float value) {
            addCriterion("percharge_count =", value, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountNotEqualTo(Float value) {
            addCriterion("percharge_count <>", value, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountGreaterThan(Float value) {
            addCriterion("percharge_count >", value, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountGreaterThanOrEqualTo(Float value) {
            addCriterion("percharge_count >=", value, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountLessThan(Float value) {
            addCriterion("percharge_count <", value, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountLessThanOrEqualTo(Float value) {
            addCriterion("percharge_count <=", value, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountIn(List<Float> values) {
            addCriterion("percharge_count in", values, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountNotIn(List<Float> values) {
            addCriterion("percharge_count not in", values, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountBetween(Float value1, Float value2) {
            addCriterion("percharge_count between", value1, value2, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andPerchargeCountNotBetween(Float value1, Float value2) {
            addCriterion("percharge_count not between", value1, value2, "perchargeCount");
            return (Criteria) this;
        }

        public Criteria andChargeManIsNull() {
            addCriterion("charge_man is null");
            return (Criteria) this;
        }

        public Criteria andChargeManIsNotNull() {
            addCriterion("charge_man is not null");
            return (Criteria) this;
        }

        public Criteria andChargeManEqualTo(String value) {
            addCriterion("charge_man =", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManNotEqualTo(String value) {
            addCriterion("charge_man <>", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManGreaterThan(String value) {
            addCriterion("charge_man >", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManGreaterThanOrEqualTo(String value) {
            addCriterion("charge_man >=", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManLessThan(String value) {
            addCriterion("charge_man <", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManLessThanOrEqualTo(String value) {
            addCriterion("charge_man <=", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManLike(String value) {
            addCriterion("charge_man like", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManNotLike(String value) {
            addCriterion("charge_man not like", value, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManIn(List<String> values) {
            addCriterion("charge_man in", values, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManNotIn(List<String> values) {
            addCriterion("charge_man not in", values, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManBetween(String value1, String value2) {
            addCriterion("charge_man between", value1, value2, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManNotBetween(String value1, String value2) {
            addCriterion("charge_man not between", value1, value2, "chargeMan");
            return (Criteria) this;
        }

        public Criteria andChargeManCardIsNull() {
            addCriterion("charge_man_card is null");
            return (Criteria) this;
        }

        public Criteria andChargeManCardIsNotNull() {
            addCriterion("charge_man_card is not null");
            return (Criteria) this;
        }

        public Criteria andChargeManCardEqualTo(String value) {
            addCriterion("charge_man_card =", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardNotEqualTo(String value) {
            addCriterion("charge_man_card <>", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardGreaterThan(String value) {
            addCriterion("charge_man_card >", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardGreaterThanOrEqualTo(String value) {
            addCriterion("charge_man_card >=", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardLessThan(String value) {
            addCriterion("charge_man_card <", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardLessThanOrEqualTo(String value) {
            addCriterion("charge_man_card <=", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardLike(String value) {
            addCriterion("charge_man_card like", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardNotLike(String value) {
            addCriterion("charge_man_card not like", value, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardIn(List<String> values) {
            addCriterion("charge_man_card in", values, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardNotIn(List<String> values) {
            addCriterion("charge_man_card not in", values, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardBetween(String value1, String value2) {
            addCriterion("charge_man_card between", value1, value2, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeManCardNotBetween(String value1, String value2) {
            addCriterion("charge_man_card not between", value1, value2, "chargeManCard");
            return (Criteria) this;
        }

        public Criteria andChargeStatusIsNull() {
            addCriterion("charge_status is null");
            return (Criteria) this;
        }

        public Criteria andChargeStatusIsNotNull() {
            addCriterion("charge_status is not null");
            return (Criteria) this;
        }

        public Criteria andChargeStatusEqualTo(Integer value) {
            addCriterion("charge_status =", value, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusNotEqualTo(Integer value) {
            addCriterion("charge_status <>", value, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusGreaterThan(Integer value) {
            addCriterion("charge_status >", value, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("charge_status >=", value, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusLessThan(Integer value) {
            addCriterion("charge_status <", value, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusLessThanOrEqualTo(Integer value) {
            addCriterion("charge_status <=", value, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusIn(List<Integer> values) {
            addCriterion("charge_status in", values, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusNotIn(List<Integer> values) {
            addCriterion("charge_status not in", values, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusBetween(Integer value1, Integer value2) {
            addCriterion("charge_status between", value1, value2, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andChargeStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("charge_status not between", value1, value2, "chargeStatus");
            return (Criteria) this;
        }

        public Criteria andUniqueIdIsNull() {
            addCriterion("unique_id is null");
            return (Criteria) this;
        }

        public Criteria andUniqueIdIsNotNull() {
            addCriterion("unique_id is not null");
            return (Criteria) this;
        }

        public Criteria andUniqueIdEqualTo(String value) {
            addCriterion("unique_id =", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotEqualTo(String value) {
            addCriterion("unique_id <>", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdGreaterThan(String value) {
            addCriterion("unique_id >", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdGreaterThanOrEqualTo(String value) {
            addCriterion("unique_id >=", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdLessThan(String value) {
            addCriterion("unique_id <", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdLessThanOrEqualTo(String value) {
            addCriterion("unique_id <=", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdLike(String value) {
            addCriterion("unique_id like", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotLike(String value) {
            addCriterion("unique_id not like", value, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdIn(List<String> values) {
            addCriterion("unique_id in", values, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotIn(List<String> values) {
            addCriterion("unique_id not in", values, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdBetween(String value1, String value2) {
            addCriterion("unique_id between", value1, value2, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andUniqueIdNotBetween(String value1, String value2) {
            addCriterion("unique_id not between", value1, value2, "uniqueId");
            return (Criteria) this;
        }

        public Criteria andChargeTimeIsNull() {
            addCriterion("charge_time is null");
            return (Criteria) this;
        }

        public Criteria andChargeTimeIsNotNull() {
            addCriterion("charge_time is not null");
            return (Criteria) this;
        }

        public Criteria andChargeTimeEqualTo(Date value) {
            addCriterion("charge_time =", value, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeNotEqualTo(Date value) {
            addCriterion("charge_time <>", value, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeGreaterThan(Date value) {
            addCriterion("charge_time >", value, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("charge_time >=", value, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeLessThan(Date value) {
            addCriterion("charge_time <", value, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeLessThanOrEqualTo(Date value) {
            addCriterion("charge_time <=", value, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeIn(List<Date> values) {
            addCriterion("charge_time in", values, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeNotIn(List<Date> values) {
            addCriterion("charge_time not in", values, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeBetween(Date value1, Date value2) {
            addCriterion("charge_time between", value1, value2, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andChargeTimeNotBetween(Date value1, Date value2) {
            addCriterion("charge_time not between", value1, value2, "chargeTime");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageIsNull() {
            addCriterion("pre_print_page is null");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageIsNotNull() {
            addCriterion("pre_print_page is not null");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageEqualTo(Integer value) {
            addCriterion("pre_print_page =", value, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageNotEqualTo(Integer value) {
            addCriterion("pre_print_page <>", value, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageGreaterThan(Integer value) {
            addCriterion("pre_print_page >", value, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageGreaterThanOrEqualTo(Integer value) {
            addCriterion("pre_print_page >=", value, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageLessThan(Integer value) {
            addCriterion("pre_print_page <", value, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageLessThanOrEqualTo(Integer value) {
            addCriterion("pre_print_page <=", value, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageIn(List<Integer> values) {
            addCriterion("pre_print_page in", values, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageNotIn(List<Integer> values) {
            addCriterion("pre_print_page not in", values, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageBetween(Integer value1, Integer value2) {
            addCriterion("pre_print_page between", value1, value2, "prePrintPage");
            return (Criteria) this;
        }

        public Criteria andPrePrintPageNotBetween(Integer value1, Integer value2) {
            addCriterion("pre_print_page not between", value1, value2, "prePrintPage");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}